/* --- 1. GLOBAL & RESET --- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

body { 
  margin: 0; 
  padding: 0; 
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-color);          
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: background-color 0.4s, color 0.4s; 
}

main {
    padding: 0;
    margin-top: 0;
}

.page-buffer {
    height: 120px;
    width: 100%;
}




/* --- 2. NAVIGATION & HEADER --- */
.overlay-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    padding: 20px 30px;
    z-index: 100;
    box-sizing: border-box;
}

.site-title {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-color); 
    text-decoration: none;
}

.site-title:hover { opacity: 0.6; cursor: pointer; }

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-subtitle {
    margin: 5px 0 0 0; 
    font-size: 10px;    
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
}

.top-nav {
    display: flex;
    gap: 15px;
}

.top-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative; 
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.top-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}


.top-nav a:hover::after {
    width: 100%;
}

.top-nav a:hover {
    opacity: 0.7;
}

@media (max-width: 600px) {
    .overlay-header { flex-direction: column; gap: 15px; padding: 15px; align-items: center;}
    .logo-wrapper {align-items: center; text-align: center;}
    .top-nav { gap: 10px; justify-content: center; width: 100%; }
    .page-buffer { height: 100px; }
}

/* --- 3. ABOUT CONTENT  --- */
.film-detail-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.poster-column img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.movie-info h1 {
    font-size: 42px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.movie-info p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.8;
    transition: color 0.4s ease, opacity 0.4s ease;
}

@media (min-width: 768px) {
    .film-detail-container {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 0 5%;
        gap: 100px;
        max-width: 3000px;
        margin: 0 auto;
    }

    .poster-column {
        flex: 0 0 40%;
        max-width: 1000px;
        max-height: 90vh;
    }

    .content-column {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 30px;
        max-width: 1000px;
    }
}


html, body {
    overflow: hidden;
    height: 100%;
}

.header-divider {
    width: 200px;
    height: 1px;
    background-color: var(--text-color);
    opacity: 0.3;
    align-self: center;
}